We want that single menu item, 1, to duplicate and create a full ten-tiered menu automatically, so the next step is to write a looping script to do that, which I’ll call the Auto Build script. Take a look at the script and then I will explain what it means. First, set a variable called CurrentClip in frame 1 of the main timeline to equal 1 (the current number of menu items)..